package cn.yunhe.services;

import cn.yunhe.entity.Topic;

import java.util.List;

public interface ITopicServices {
    List<Topic> search(Topic topic);

    List<Topic> searchByArgs(String hql);

    Topic get(int tid);

    void add(Topic topic);

    void add(List<Topic> list);

    void del(int tid);

    void up(Topic topic);
}
